package com.mtung.dubbo.register;

import java.io.UnsupportedEncodingException;

/**
 * 服务注册
 * @author : zhenguo.yao
 * @date : 2020/3/23 0023 10:12
 */
public interface ServiceRegister {

    /**
     * 注册服务到注册中心(zk)
     * @param serviceName
     * @param serviceAddress
     * @throws UnsupportedEncodingException
     */
    void register(String serviceName, String serviceAddress) throws UnsupportedEncodingException;

}
